TARGET  = json
CC = g++

INCLUDES = 
LIBS     = 
CFLAGS   = -Wall -Wshadow -g
CPP_SOURCES = $(wildcard *.cpp)
CPP_OBJS = $(patsubst %.cpp, %.o, $(CPP_SOURCES))

.cpp.o:
	$(CC) -c $(CFLAGS) $(INCLUDES) $<
	
compile: $(CPP_OBJS)
	$(CC) -o $(TARGET) $^ $(LIBS)
		
clean:
	rm -f $(CPP_OBJS) $(TARGET)

